﻿// -------------------------------------------------------------------------
//    @FileName         :    NFAvatarPart.cpp
//    @Author           :    gaoyi
//    @Date             :    2025/1/4
//    @Email            :    445267987@qq.com
//    @Module           :    NFAvatarPart
//
// -------------------------------------------------------------------------

#include "NFAvatarPart.h"

NFAvatarPart::NFAvatarPart()
{
    if (EN_OBJ_MODE_INIT == NFShmMgr::Instance()->GetCreateMode())
    {
        CreateInit();
    }
    else
    {
        ResumeInit();
    }
}

NFAvatarPart::~NFAvatarPart()
{
}

int NFAvatarPart::CreateInit()
{
    return 0;
}
    
int NFAvatarPart::ResumeInit()
{
    return 0;
}

int NFAvatarPart::MakePlayerDataCS(proto_ff::Proto_CSGetRoleRsp* pCSGetRoleRsp)
{
    return 0;
}

int NFAvatarPart::MakeCityPlayerData(proto_ff::CityRoleInfo* pGCCityRoleInfo)
{
    return 0;
}

int NFAvatarPart::LoadFromDB(const proto_ff::tbRoleDetail* pDBData)
{
    return 0;
}

int NFAvatarPart::InitConfig(proto_ff::tbRoleDetail* pDbData, const RoleOne& stRoleOne)
{
    return 0;
}

int NFAvatarPart::SaveDB(proto_ff::tbRoleDetail* pDBData)
{
    return 0;
}
